Historical Calculate Pi, Revision 2
Benchmark Pi Calculation
Comparing the fastest interpreters: OE, Phix, and LuaJIT.
Testing on a 64bit i5 netbook:
Language | Time in Seconds |
---|---|
OE Interpreter | 10 |
OE Compiled | 2.1 |
Phix Interpreter | 6 |
Phix Compiled | 4.7 |
LuaJIT Interpreter | 17 |
Testing on a 32bit atom netbook.
Language | Time in Seconds |
---|---|
OE Interpreter | 3.1 |
OE Compiled | 0.65 |
Phix Interpreter | 1.5 |
Phix Compiled | 1.3 |
LuaJIT Interpreter | 2.5 |
Sources
The Lua algorithm found at Rosetta Code is used as a test case. P Lomax converted it to Phix, and I converted Pete's version to OE.
- OE pi algorithm OE pi benchmark
- Phix pi algorithm Phix pi benchmark
- Lua pi algorithm Lua pi benchmark
- Timer Program Nothing fancy. Only one run for each is timed. Benchmark timer
- diff to current revision, view current revision history, backlinks
- Last modified Aug 23, 2018 by _tom